package com.escape.subject.domain.convert;

import com.escape.subject.domain.entity.SubjectAnswerBO;
import com.escape.subject.infra.basic.entity.SubjectMultiple;
import com.escape.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author: escape_zebra
 * @CreateTime: 2024-12-18  12:19
 * @Description: TODO
 * @Version: 1.0
 */
@Mapper
public interface MultipleSubjectConverter {

    MultipleSubjectConverter INSTANCE = Mappers.getMapper(MultipleSubjectConverter.class);

    SubjectMultiple convertBoToEntity(SubjectAnswerBO subjectAnswerBO);

    List<SubjectAnswerBO> convertListToBoList(List<SubjectMultiple> list);
}
